package com.bai.order.client;

import com.bai.utils.orderVo.CourseOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-deu")
public interface EduClient {
    /**
     * 根据课程id查询课程
     * @param id
     * @return
     */
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{id}")
    public CourseOrderVo getCourseInfoOrder(@PathVariable("id") String id);
}
